from tool.es_clent import connect_es, store_data_bulk
import json
from tool.string_tool import clean_des
from tool.es_clent import create_index


if __name__ == "__main__":
    es = connect_es()
    es.indices.delete(index="sim_word")
    create_index(es, "sim_word", "../data/es_index/sim_word.json")
    # process_sim_word()
    # print(es.get(index="mashup", doc_type="mashup", id=1))
